/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cq.bd.security;

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * 用户详情
 * 
 * @author huangmy
 * @date   2009-10-3
 */
public class UserDetails implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long loginId;
    private String loginCode;
    private Long staffId;
    private String loginPwd;
    private Integer loginType;
    private String sendPhone;
    private Integer loginNum;
    private Date lastChgPwdTime;
    private Integer state;

    private String staffName;
    private Integer sex;
    private Integer placeId;
    private Integer age;
    private Date birthday;
    private Integer cardType;
    private String cardNo;
    private Long departId;
    private Integer staffType;
    private String relaPhone;
    private String relaMobile;
    private String otherRelaPhone;
    private String relaAddr;
    private String email;
    private String ipAddr;
    private String sessionId;
    private Long onLineId;
    private Long loginLogId;

    public Long getLoginLogId() {
        return loginLogId;
    }

    public void setLoginLogId(Long loginLogId) {
        this.loginLogId = loginLogId;
    }

    /**
     * @return the loginId
     */
    public Long getLoginId() {
        return loginId;
    }

    /**
     * @param loginId the loginId to set
     */
    public void setLoginId(Long loginId) {
        this.loginId = loginId;
    }

    /**
     * @return the loginCode
     */
    public String getLoginCode() {
        return loginCode;
    }

    /**
     * @param loginCode the loginCode to set
     */
    public void setLoginCode(String loginCode) {
        this.loginCode = loginCode;
    }

    /**
     * @return the staffId
     */
    public Long getStaffId() {
        return staffId;
    }

    /**
     * @param staffId the staffId to set
     */
    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    /**
     * @return the loginPwd
     */
    public String getLoginPwd() {
        return loginPwd;
    }

    /**
     * @param loginPwd the loginPwd to set
     */
    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    /**
     * @return the loginType
     */
    public Integer getLoginType() {
        return loginType;
    }

    /**
     * @param loginPwd the loginPwd to set
     */
    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    /**
     * @return the sendPhone
     */
    public String getSendPhone() {
        return sendPhone;
    }

    /**
     * @param sendPhone the sendPhone to set
     */
    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    /**
     * @return the loginNum
     */
    public Integer getLoginNum() {
        return loginNum;
    }

    /**
     * @param loginNum the loginNum to set
     */
    public void setLoginNum(Integer loginNum) {
        this.loginNum = loginNum;
    }

    /**
     * @return the lastChgPwdTime
     */
    public Date getLastChgPwdTime() {
        return lastChgPwdTime;
    }

    /**
     * @param lastChgPwdTime the lastChgPwdTime to set
     */
    public void setLastChgPwdTime(Date lastChgPwdTime) {
        this.lastChgPwdTime = lastChgPwdTime;
    }

    /**
     * @return the state
     */
    public Integer getState() {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * @return the staffName
     */
    public String getStaffName() {
        return staffName;
    }

    /**
     * @param staffName the staffName to set
     */
    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    /**
     * @return the sex
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * @param sex the sex to set
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * @return the placeId
     */
    public Integer getPlaceId() {
        return placeId;
    }

    /**
     * @param placeId the placeId to set
     */
    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    /**
     * @return the age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * @param age the age to set
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * @return the birthday
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * @param birthday the birthday to set
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * @return the cardType
     */
    public Integer getCardType() {
        return cardType;
    }

    /**
     * @param cardType the cardType to set
     */
    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    /**
     * @return the cardNo
     */
    public String getCardNo() {
        return cardNo;
    }

    /**
     * @param cardNo the cardNo to set
     */
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    /**
     * @return the departId
     */
    public Long getDepartId() {
        return departId;
    }

    /**
     * @param departId the departId to set
     */
    public void setDepartId(Long departId) {
        this.departId = departId;
    }

    /**
     * @return the staffType
     */
    public Integer getStaffType() {
        return staffType;
    }

    /**
     * @param staffType the staffType to set
     */
    public void setStaffType(Integer staffType) {
        this.staffType = staffType;
    }

    /**
     * @return the relaPhone
     */
    public String getRelaPhone() {
        return relaPhone;
    }

    /**
     * @param relaPhone the relaPhone to set
     */
    public void setRelaPhone(String relaPhone) {
        this.relaPhone = relaPhone;
    }

    /**
     * @return the relaMobile
     */
    public String getRelaMobile() {
        return relaMobile;
    }

    /**
     * @param relaMobile the relaMobile to set
     */
    public void setRelaMobile(String relaMobile) {
        this.relaMobile = relaMobile;
    }

    /**
     * @return the otherRelaPhone
     */
    public String getOtherRelaPhone() {
        return otherRelaPhone;
    }

    /**
     * @param otherRelaPhone the otherRelaPhone to set
     */
    public void setOtherRelaPhone(String otherRelaPhone) {
        this.otherRelaPhone = otherRelaPhone;
    }

    /**
     * @return the relaAddr
     */
    public String getRelaAddr() {
        return relaAddr;
    }

    /**
     * @param relaAddr the relaAddr to set
     */
    public void setRelaAddr(String relaAddr) {
        this.relaAddr = relaAddr;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the ipAddr
     */
    public String getIpAddr() {
        return ipAddr;
    }

    /**
     * @param ipAddr the ipAddr to set
     */
    public void setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
    }

    /**
     * @return the sessionId
     */
    public String getSessionId() {
        return sessionId;
    }

    /**
     * @param sessionId the sessionId to set
     */
    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    /**
     * @return the onLineId
     */
    public Long getOnLineId() {
        return onLineId;
    }

    /**
     * @param onLineId the onLineId to set
     */
    public void setOnLineId(Long onLineId) {
        this.onLineId = onLineId;
    }

    /**
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return new ToStringBuilder(this).append("loginPwd", this.loginPwd).append("loginType", this.loginType).append(
                "loginCode", this.loginCode).append("relaPhone", this.relaPhone).append("age", this.age).append(
                "loginNum", this.loginNum).append("loginId", this.loginId).append("staffType", this.staffType).append(
                "birthday", this.birthday).append("email", this.email).append("staffId", this.staffId).append(
                "sendPhone", this.sendPhone).append("sex", this.sex).append("departId", this.departId).append(
                "relaMobile", this.relaMobile).append("placeId", this.placeId).append("onLineId", this.onLineId)
                .append("ipAddr", this.ipAddr).append("staffName", this.staffName).append("state", this.state).append(
                        "otherRelaPhone", this.otherRelaPhone).append("relaAddr", this.relaAddr).append("sessionId",
                        this.sessionId).append("lastChgPwdTime", this.lastChgPwdTime).append("cardType", this.cardType)
                .append("cardNo", this.cardNo).toString();
    }

}
